//
// Created by ezio on 20-3-20.
//

#ifndef HAWK_CAM_ALGOPARAM_H
#define HAWK_CAM_ALGOPARAM_H
#include <stdio.h>
class AlgoParam
{
public:
/*
    AlgoParam();
    ~AlgoParam();
    AlgoParam(int height, int width){

        this->height = height;
        this->width = width;
    }
*/
    int get_height()
    {
        return this->height;
    };
    int set_height(int height)
    {
        if(height<0)
        {
            printf("height less than 0\n");
            return -1;
        }
        this->height = height;
    };
    int get_width()
    {
        return this->width;
    };
    int set_width(int width)
    {
        if(width<0)
        {
            printf("width less than 0\n");
            return -1;
        }
        this->width = width;
    };

    virtual  void * get_img_ptr(void){};
private:
    int height;
    int width;
};

#endif //HAWK_CAM_ALGOPARAM_H
